package com.tanker.common.utils.microRental.model;

import java.io.Serializable;

import com.tanker.common.utils.ErrorCode;

public class RequestBean implements Serializable {
	
	private static final long serialVersionUID = -5804842673349887734L;
	private String code;//错误编码
    private String msg;//如果访问失败，失败的原因
    private boolean success;//调用接口是否成功, true为成功，false不成功
	private String data;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	
	public RequestBean(boolean success){
		this.success=success;
	}
}
